package com.cn.jdia.dc.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.cn.jdia.dc.dao.MqtopicMapper;
import com.cn.jdia.dc.model.Mqtopic;
import com.cn.jdia.dc.service.IMqtopicService;

@Service("mqtopicService")
public class IMqtopicServiceImpl implements IMqtopicService{

	@Resource
	private MqtopicMapper mapper;
	
	@Override
	public List<Mqtopic> getTopicDataByPro(String sname, String ip) {
		return this.mapper.selectByPro(sname, ip);
	}

}
